package com.company;

import com.sun.deploy.util.ArrayUtil;

import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
	// write your code here

        int [] arrs={1,2,3,5,61,123,5,2312,533};

        for (int i = 0; i < arrs.length; i++) {

            for (int j=0;j<arrs.length-1-i;j++){
                if (arrs[j]>arrs[j+1]){
                 int temp=arrs[j];
                 arrs[j] = arrs[j+1];
                 arrs[j+1]=temp;
                }
            }
        }
        String s = Arrays.toString(arrs);
        System.out.println(s.replace("[","").replace("]","").toCharArray());


        //调用
        Singleton singleton = Singleton.getSingleton();

    }
}
